package com.winter.mapper;

import com.winter.model.CaBondCredMoney;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CaBondCredMoneyMapper {
    int deleteByPrimaryKey(String bondCode);

    int insert(CaBondCredMoney record);

    int insertSelective(CaBondCredMoney record);

    CaBondCredMoney selectByPrimaryKey(String bondCode);

    int updateByPrimaryKeySelective(CaBondCredMoney record);

    int updateByPrimaryKey(CaBondCredMoney record);

    List<CaBondCredMoney> ratingChange(@Param("change") String change, @Param("zhaiXiang") String zhaiXiang, @Param("zhuTi") String zhuTi, @Param("type") String type, @Param("date") String date, @Param("key") String key);

    String newestTime();
}